import {fromJS} from 'immutable'
import {actionTypes} from "./index";

const defaultState = fromJS({
    show: false
})

export default (state = defaultState, action)=>{
    switch (action.type) {
        case actionTypes.CHANGE_SHOW_STATUS:
            return state.set('show',action.value)
        default:
            return state

    }
}
